home *** CD-ROM | disk | FTP | other *** search
/ Champak 106 / Vol 106.iso / games / rain_for.swf / scripts / DefineSprite_1037_mcMenu / frame_98 / DoAction.as
Text File  |  2010-04-12  |  584b  |  23 lines

  1. stop();
  2. switch(this.nLevel)
  3. {
  4.    case 1:
  5.       scoreboard.coin0._visible = true;
  6.       scoreboard.coin0.gotoAndStop("getting");
  7.       mcEndVO1.play();
  8.       currentlyPlaying = mcEndVO1;
  9.       break;
  10.    case 2:
  11.       scoreboard.coin1._visible = true;
  12.       scoreboard.coin1.gotoAndStop("getting");
  13.       scoreboard.coin0.a.play();
  14.       mcEndVO2.play();
  15.       currentlyPlaying = mcEndVO2;
  16.       break;
  17.    case 3:
  18.       scoreboard.coin1.a.play();
  19.       scoreboard.coin0.a.play();
  20.       scoreboard.coin2.gotoAndStop("getting");
  21. }
  22. _global.mcRoot.oMain.startLevel();
  23.